<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="renderer" content="webkit"> 
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> 
<meta name="format-detection" content="telephone=no" /> 
<link rel="shortcut icon" href="images/logo.ico" />
<title>闪度生活</title>
<meta name="keywords" content=" " />
<meta name="description" content=" " />


<link rel="stylesheet" type="text/css" href="css/common.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="css/font-awesome.css">
<link rel="stylesheet" type="text/css" href="css/swiper-3.4.1.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css">

<script src="js/jquery-1.11.1.min.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/jquery-ui.min.js"></script>
<script src="js/easing.js"></script>
<script src="js/swiper-3.4.1.min.js"></script>
<script src="js/index.js"></script>
<script src="js/main.js"></script>

<script src="./js/vue.js"></script>
<script src="./js/axios.min.js"></script>
<script src="./js/axios-config.js"></script>
<script src="./js/js.cookie.js"></script>
<script src="./js/utils.js"></script>

</head>

<body>

<div id="app" v-cloak>

<!--  / header  -->
<div class="stroy_rhead">
  <a href="javascript:history.go(-1)" class="back">
    <img src="images/hl.png"> 返回
  </a>
  <h5>我的收藏</h5>
</div>

<!--  / header  -->
<!--  / warpper  -->
<div class="myCollect">
    <div class="myCollect1 clearfix" v-for="collect in collect_list">
    	  <div class="myCollect_img">
    	  	<img :src="collect.pic" width="100%">
    	  </div>
    	  <div class="myCollect_zi">
        	<div class="myCollect1-txt1"> <span>收藏时间 <i>{{collect.add_time}}</i></span></div>
        	<div class="myCollect1-txt2">{{collect.title}}</div>
        	<div class="myCollect1-txt1"><span>收藏数 <i>{{collect.collect}}</i></span></div>
       </div>
    </div>
   <!-- <div class="myCollect1 clearfix">
    	<div class="myCollect_img">
    	  	<img src="images/collage-list2.jpg" width="100%">
    	  </div>
    	  <div class="myCollect_zi">
        <div class="myCollect1-txt1"> <span>收藏时间 <i>2018-01-27 12:54:56</i></span></div>
        <div class="myCollect1-txt2">方式都发生的父母</div>
        <div class="myCollect1-txt1"><span>收藏数 <i>1</i></span></div>
       </div>
    </div>
    <div class="myCollect1 clearfix">
    	<div class="myCollect_img">
    	  	<img src="images/collage-list2.jpg" width="100%">
    	  </div>
    	  <div class="myCollect_zi">
        <div class="myCollect1-txt1"> <span>收藏时间 <i>2018-01-27 12:54:56</i></span></div>
        <div class="myCollect1-txt2">方式都发生的父母</div>
        <div class="myCollect1-txt1"><span>收藏数 <i>2</i></span></div>
       </div>
    </div>-->
</div>

<!--  / warpper  -->
  

<!--  / footer  -->
<!--  / footer  -->
</div>
</body>
<script>
var url = location.href;
isToken(url);
$(window).ready(function(){
	
	var vm = new Vue({
		el:"#app",
		data() {
	    return {
	        userId: (() => {
	                
	            })(),
	        collect_list:''
	    }
		},
    created: function () {
		var $this = this;
    	$this.getUcenter_collect();
        
    },
    mounted:function(){
    	
    },
    methods:{
    	
    	//我的收藏
    	getUcenter_collect:function(){
    		var $this = this;
    		
    		const data = {
//  			type:1
    		}
    		
    		Axios.post(window.Url.Ucenter_collect, data).then((res) => {
    			
    			tt(res.result,'http://shandu.unohacha.com/wx_shandu/myCollect.html');

                if(res.result == 1){
    				$this.collect_list = res.info.collect;
    				
    			}
    			
        }).catch((err) => {
          console.log('我的收藏'+err)
        })
        
    	}
	}
})
	
	
    $('.energetic1 li').click(function(){
      window.location.href = "tourItinerary.html";
    });
    $('.myCollect1').click(function(){
      window.location.href = "InformationDetails.html";
    });
    
  $(window).load(function(){

  })

  $(window).resize(function(){

  })
})  
</script>
</html>
